#ifndef EXTRACTTHREAD_H
#define EXTRACTTHREAD_H

#include <QThread>

class extractThread : public QThread
{
    Q_OBJECT
public:
    explicit extractThread(QObject *parent = nullptr);
    quint64 getMaxSize(QString path);
    void recvFileName(QString name);


protected:
    void run() override;

signals:
    void sendStatus(bool status);
    void sendData(int maxSize);
private:
    QString m_fileName;
    QString tempFileName;


};

#endif // EXTRACTTHREAD_H
